package com.ufinity.estimation.utils;

public class StringUtil {

	public static boolean isEmpty(String param) {
		return (param == null || param.trim().length() == 0);
	}

	public static boolean isNumber(String param) {
		if (param.matches("[\\d]+")) {
			return true;
		} else if (param.matches("[\\d.]+")) {
			return true;
		} else {
			return false;
		}
	}
}
